package com.ruoyi.system.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务操作流程图集合对象 t_task_pic
 * 
 * @author ruoyi
 * @date 2024-04-16
 */
public class TTaskPicDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务流程截图表 */
    private Long id;

    /** 任务id（任务id，或者用户任务id） */
    @Excel(name = "任务id", readConverterExp = "任=务id，或者用户任务id")
    private Long taskId;

    /** 步骤介绍 */
    @Excel(name = "步骤介绍")
    private String contentInfo;

    /** 介绍编码 */
    @Excel(name = "介绍编码")
    private String contentInfoCode;

    /** 任务图片 */
    @Excel(name = "任务图片")
    private String picInfo;

    /** 图片排序 */
    @Excel(name = "图片排序")
    private Integer sort;

    /** 数据类型1-任务流程图片；2-提交审核图片 */
    @Excel(name = "数据类型1-任务流程图片；2-提交审核图片")
    private Integer type;

    /** 0-有效，1-无效 */
    @Excel(name = "0-有效，1-无效")
    private Integer isDelete;


    @Excel(name = "1-图文；2-文本信息")
    private Integer infoType;

    public Integer getInfoType() {
        return infoType;
    }

    public void setInfoType(Integer infoType) {
        this.infoType = infoType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setContentInfo(String contentInfo) 
    {
        this.contentInfo = contentInfo;
    }

    public String getContentInfo() 
    {
        return contentInfo;
    }
    public void setContentInfoCode(String contentInfoCode) 
    {
        this.contentInfoCode = contentInfoCode;
    }

    public String getContentInfoCode() 
    {
        return contentInfoCode;
    }
    public void setPicInfo(String picInfo) 
    {
        this.picInfo = picInfo;
    }

    public String getPicInfo() 
    {
        return picInfo;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("contentInfo", getContentInfo())
            .append("contentInfoCode", getContentInfoCode())
            .append("picInfo", getPicInfo())
            .append("sort", getSort())
            .append("type", getType())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
